package com.hazy.animalface.module;

import com.avos.avoscloud.AVClassName;
import com.avos.avoscloud.AVFile;
import com.avos.avoscloud.AVObject;

/**
 * Created by jiaui on 2017/4/15 0015.
 * <p/>
 * 一个头贴
 */
@AVClassName("Sticker")
public class Sticker extends AVObject {
    public static final Creator CREATOR = AVObjectCreator.instance;

    public static final String PARENTNAME = "parent";
    public static final String NAME = "name";
    public static final String NETPATH = "netPath";
    public static final String LOCALPATH = "localPath";
    public static final String STICKER = "image";

    public void setParentname(String parentname) {
        put(PARENTNAME, parentname);
    }

    public void setName(String name) {
        put(NAME, name);
    }

    public void setNetpath(String netpath) {
        put(NETPATH, netpath);
    }

    public void setLocalpath(String localpath) {
        put(LOCALPATH, localpath);
    }

    public void setSticker(AVFile sticker) {
        put(STICKER, sticker);
    }

    public String getParentname() {
        return getString(PARENTNAME);
    }

    public String getName() {
        return getString(NAME);
    }

    public String getNetpath() {
        return getString(NETPATH);
    }

    public String getLocalpath() {
        return getString(LOCALPATH);
    }

    public AVFile getSticker() {
        return getAVFile(STICKER);
    }

}
